# -*- coding: utf-8 -*-
from flask import render_template
from . import web

@web.route('/web')
def hello_world():
    return 'Hello World!'


@web.route('/index')
def index_page():
    # title = u'flask模板测试'
    # items = ['test1','test2','test3']
    # return render_template('template_test.html',title=title,items=items)
    return render_template('index.html')

@web.route('/template/test')
def template_test():
    return render_template('web/page.html')
